import request from '@/utils/request'
//查询量表组合
export function getRecordList(query) {
  return request({
    url: '/system/records/list',
    method: 'get',
    params: query
  })
}
//普通分配量表
export function addRecords(data) {
  return request({
    url: '/system/records/scaleAllocation',
    method: 'post',
    data: data
  })
}
//分配组合量表
export function anzufenpeiliangbiao(data) {
  return request({
    url: '/system/records/scaleCombinationAllocation',
    method: 'post',
    data: data
  })
}

export function getUserList(query) {
  return request({
    url: '/system/records/userlist',
    method: 'get',
    params: query
  })
}
